﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Core.Utilities.Response;
using VOL.Entity.DomainModels.Core;
using VOL.Entity.DomainModels;

namespace MyMES.IServices.PlanInfos
{
    public interface IPlanInfoServices
    {
        /// <summary>
        /// 添加质检方案信息
        /// </summary>
        /// <param name="planInfo">质检方案实体</param>
        /// <returns></returns>
        Task<WebResponseContent> AddPlanInfoModel(PlanInfo planInfo);
        /// <summary>
        /// 修改质检方案信息
        /// </summary>
        /// <param name="planInfo">质检方案实体</param>
        /// <returns></returns>
        Task<WebResponseContent> UpdatePlanInfoModel(PlanInfo planInfo);
        /// <summary>
        /// 删除质检方案信息
        /// </summary>
        /// <param name="planInfo">质检方案实体</param>
        /// <returns>操作结果</returns>
        Task<WebResponseContent> DelPlanInfoModel(PlanInfo planInfo);
        Task<PageGridData<PlanInfo>> GetPlanInfo(string? PlanNo, string? PlanName,int pageIndex = 1, int pageSize = 10);
    }
}
